<?php

namespace app\index\model;


use think\Model;

class Certificate extends Model
{
    /**
     * 用于修改用户资格证书
     * ywh开发
     *
     * @param $human
     * @param $data
     * @return Certificate
     */
    public function editCer($human,$data){
        return $this->where('user_id','=',$human)->update($data);
    }
}